package com.yes_iot.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.UUID;

@Entity
@Data
@Table(name = "large_screen_configuration")
public class LargeScreenConfiguration {
    @Id
    @Column(name = "id", columnDefinition = "uuid")
    private UUID id;
    @Column(name = "green_house_id")
    private Integer greenHouseId;
    @Column(name = "farm_id")
    private Integer farmId;
    @Column(name = "green_house_name")
    private String greenHouseName;
    @Column(name = "farm_name")
    private String farmName;
    @Column(name = "name")
    private String name;
    @Column(name = "device_id")
    private String deviceId;
    @Column(name = "device_meta")
    private String deviceMeta;
    @Column(name = "content")
    private String content;
    @Column(name = "config")
    private String config;
    @Column(name = "login_logo")
    private String loginLogo;
    @Column(name = "login_text")
    private String loginText;

}
